home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / ApplicationShell.z / ApplicationShell
Text File  |  1998-10-30  |  18KB  |  265 lines

  1.  
  2.  
  3.  
  4.      AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaaUUUUllllNNNNllllIIII))))XXXX SSSSyyyysssstttteeeeAAAAmmmmppppppppVVVVlllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll - The ApplicationShell widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Xm.h>
  13.           #include <X11/Shell.h>
  14.  
  15.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  16.           This page documents Motif 2.1.
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           ApplicationShell is used as the main top-level window for an
  20.           application. An application should have more than one
  21.           ApplicationShell only if it implements multiple logical
  22.           applications.
  23.  
  24.         CCCCllllaaaasssssssseeeessss
  25.           ApplicationShell inherits behavior and resources from CCCCoooorrrreeee,
  26.           CCCCoooommmmppppoooossssiiiitttteeee, SSSShhhheeeellllllll, WWWWMMMMSSSShhhheeeellllllll, VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll, and TTTTooooppppLLLLeeeevvvveeeellllSSSShhhheeeellllllll.
  27.  
  28.           The class pointer is _a_p_p_l_i_c_a_t_i_o_n_S_h_e_l_l_W_i_d_g_e_t_C_l_a_s_s.
  29.  
  30.           The class name is AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll.
  31.  
  32.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  33.           The following table defines a set of widget resources used
  34.           by the programmer to specify data. The programmer can also
  35.           set the resource values for the inherited classes to set
  36.           attributes for this widget. To reference a resource by name
  37.           or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  38.           prefix and use the remaining letters. To specify one of the
  39.           defined values for a resource in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove
  40.           the XXXXmmmm prefix and use the remaining letters (in either
  41.           lowercase or uppercase, but include any underscores between
  42.           words).  The codes in the access column indicate if the
  43.           given resource can be set at creation time (C), set by using
  44.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  45.           not applicable (N/A).
  46.  
  47.                    AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  48.           NNNNaaaammmmeeee      CCCCllllaaaassssssss     TTTTyyyyppppeeee       DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  49.           XmNargc   XmCArgc   int        0         CSG
  50.           XmNargv   XmCArgv   String *   NULL      CSG
  51.  
  52.           XXXXmmmmNNNNaaaarrrrggggcccc   Specifies the number of arguments given in the
  53.                     XXXXmmmmNNNNaaaarrrrggggvvvv resource.  The function XXXXttttIIIInnnniiiittttiiiiaaaalllliiiizzzzeeee sets
  54.                     this resource on the shell widget instance it
  55.                     creates by using its parameters as the values.
  56.  
  57.           XXXXmmmmNNNNaaaarrrrggggvvvv   Specifies the argument list required by a session
  58.                     manager to restart the application if it is
  59.                     killed. This list should be updated at appropriate
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaaUUUUllllNNNNllllIIII))))XXXX SSSSyyyysssstttteeeeAAAAmmmmppppppppVVVVlllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  71.  
  72.  
  73.  
  74.                     points by the application if a new state has been
  75.                     reached that can be directly restarted.  The
  76.                     function XXXXttttIIIInnnniiiittttiiiiaaaalllliiiizzzzeeee sets this resource on the
  77.                     shell widget instance it creates by using its
  78.                     parameters as the values.  When XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss is
  79.                     called on this resource, the returned value is a
  80.                     pointer to the actual resource value and should
  81.                     not be freed.
  82.  
  83.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  84.           ApplicationShell inherits behavior and resources from the
  85.           following superclasses. For a complete description of each
  86.           resource, refer to the reference page for that superclass.
  87.  
  88.                                 TTTTooooppppLLLLeeeevvvveeeellllSSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  89.           NNNNaaaammmmeeee                  CCCCllllaaaassssssss                 TTTTyyyyppppeeee      DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  90.           XmNiconic             XmCIconic             Boolean   False     CSG
  91.           XmNiconName           XmCIconName           String    NULL      CSG
  92.           XmNiconNameEncoding   XmCIconNameEncoding   Atom      dynamic   CSG
  93.  
  94.                                            VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  95.           NNNNaaaammmmeeee                     CCCCllllaaaassssssss                    TTTTyyyyppppeeee            DDDDeeeeffffaaaauuuulllltttt           AAAAcccccccceeeessssssss
  96.           XmNaudibleWarning        XmCAudibleWarning        unsigned char   XmBELL            CSG
  97.           XmNbuttonFontList        XmCButtonFontList        XmFontList      dynamic           CSG
  98.           XmNbuttonRenderTable     XmCButtonRenderTable     XmRenderTable   dynamic           CSG
  99.           XmNdefaultFontList       XmCDefaultFontList       XmFontList      dynamic           CG
  100.           XmNdeleteResponse        XmCDeleteResponse        unsigned char   XmDESTROY         CSG
  101.           XmNinputMethod           XmCInputMethod           String          NULL              CSG
  102.           XmNinputPolicy           XmCInputPolicy           XmInputPolicy   XmPER_SHELL       CSG
  103.           XmNkeyboardFocusPolicy   XmCKeyboardFocusPolicy   unsigned char   XmEXPLICIT        CSG
  104.           XmNlabelFontList         XmCLabelFontList         XmFontList      dynamic           CSG
  105.           XmNlabelRenderTable      XmCLabelRenderTabel      XmRenderTable   dynamic           CSG
  106.           XmNlayoutDirection       XmCLayoutDirection       XmDirection     XmLEFT_TO_RIGHT   CG
  107.           XmNmwmDecorations        XmCMwmDecorations        int             -1                CG
  108.           XmNmwmFunctions          XmCMwmFunctions          int             -1                CG
  109.           XmNmwmInputMode          XmCMwmInputMode          int             -1                CG
  110.           XmNmwmMenu               XmCMwmMenu               String          NULL              CG
  111.           XmNpreeditType           XmCPreeditType           String          dynamic           CSG
  112.           XmNshellUnitType         XmCShellUnitType         unsigned char   XmPIXELS          CSG
  113.           XmNtextFontList          XmCTextFontList          XmFontList      dynamic           CSG
  114.           XmNtextRenderTable       XmCTextRenderTable       XmRenderTable   dynamic           CSG
  115.           XmNunitType              XmCUnitType              unsigned char   XmPIXELS          CSG
  116.           XmNuseAsyncGeometry      XmCUseAsyncGeometry      Boolean         False             CSG
  117.  
  118.                                        WWWWMMMMSSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  119.           NNNNaaaammmmeeee               CCCCllllaaaassssssss              TTTTyyyyppppeeee      DDDDeeeeffffaaaauuuulllltttt                 AAAAcccccccceeeessssssss
  120.           XmNbaseHeight      XmCBaseHeight      int       XtUnspecifiedShellInt   CSG
  121.           XmNbaseWidth       XmCBaseWidth       int       XtUnspecifiedShellInt   CSG
  122.           XmNheightInc       XmCHeightInc       int       XtUnspecifiedShellInt   CSG
  123.           XmNiconMask        XmCIconMask        Pixmap    NULL                    CSG
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaaUUUUllllNNNNllllIIII))))XXXX SSSSyyyysssstttteeeeAAAAmmmmppppppppVVVVlllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  137.  
  138.  
  139.  
  140.           XmNiconPixmap      XmCIconPixmap      Pixmap    NULL                    CSG
  141.           XmNiconWindow      XmCIconWindow      Window    NULL                    CSG
  142.           XmNiconX           XmCIconX           int       XtUnspecifiedShellInt   CSG
  143.           XmNiconY           XmCIconY           int       XtUnspecifiedShellInt   CSG
  144.           XmNinitialState    XmCInitialState    int       NormalState             CSG
  145.           XmNinput           XmCInput           Boolean   True                    CSG
  146.           XmNmaxAspectX      XmCMaxAspectX      int       XtUnspecifiedShellInt   CSG
  147.           XmNmaxAspectY      XmCMaxAspectY      int       XtUnspecifiedShellInt   CSG
  148.           XmNmaxHeight       XmCMaxHeight       int       XtUnspecifiedShellInt   CSG
  149.           XmNmaxWidth        XmCMaxWidth        int       XtUnspecifiedShellInt   CSG
  150.           XmNminAspectX      XmCMinAspectX      int       XtUnspecifiedShellInt   CSG
  151.           XmNminAspectY      XmCMinAspectY      int       XtUnspecifiedShellInt   CSG
  152.           XmNminHeight       XmCMinHeight       int       XtUnspecifiedShellInt   CSG
  153.           XmNminWidth        XmCMinWidth        int       XtUnspecifiedShellInt   CSG
  154.           XmNtitle           XmCTitle           String    dynamic                 CSG
  155.           XmNtitleEncoding   XmCTitleEncoding   Atom      dynamic                 CSG
  156.           XmNtransient       XmCTransient       Boolean   False                   CSG
  157.           XmNwaitForWm       XmCWaitForWm       Boolean   True                    CSG
  158.           XmNwidthInc        XmCWidthInc        int       XtUnspecifiedShellInt   CSG
  159.           XmNwindowGroup     XmCWindowGroup     Window    dynamic                 CSG
  160.           XmNwinGravity      XmCWinGravity      int       dynamic                 CSG
  161.           XmNwmTimeout       XmCWmTimeout       int       5000 ms                 CSG
  162.  
  163.                                                    SSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  164.           NNNNaaaammmmeeee                      CCCCllllaaaassssssss                     TTTTyyyyppppeeee                     DDDDeeeeffffaaaauuuulllltttt          AAAAcccccccceeeessssssss
  165.           XmNallowShellResize       XmCAllowShellResize       Boolean                  False            CG
  166.           XmNcreatePopupChildProc   XmCCreatePopupChildProc   XtCreatePopupChildProc   NULL             CSG
  167.           XmNgeometry               XmCGeometry               String                   NULL             CSG
  168.           XmNoverrideRedirect       XmCOverrideRedirect       Boolean                  False            CSG
  169.           XmNpopdownCallback        XmCCallback               XtCallbackList           NULL             C
  170.           XmNpopupCallback          XmCCallback               XtCallbackList           NULL             C
  171.           XmNsaveUnder              XmCSaveUnder              Boolean                  False            CSG
  172.           XmNvisual                 XmCVisual                 Visual *                 CopyFromParent   CSG
  173.  
  174.                                   CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  175.           NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  176.           XmNchildren         XmCReadOnly         WidgetList    NULL      G
  177.           XmNinsertPosition   XmCInsertPosition   XtOrderProc   NULL      CSG
  178.           XmNnumChildren      XmCReadOnly         Cardinal      0         G
  179.  
  180.                                                         CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  181.           NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  182.           XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                CSG
  183.           XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  184.           XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  185.           XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  186.           XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  187.           XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  188.           XmNborderWidth                  XmCBorderWidth                  Dimension        0                      CSG
  189.           XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                         (printed 10/24/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      AAAApppppppplllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaaUUUUllllNNNNllllIIII))))XXXX SSSSyyyysssstttteeeeAAAAmmmmppppppppVVVVlllliiiiccccaaaattttiiiioooonnnnSSSShhhheeeellllllll((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  203.  
  204.  
  205.  
  206.           XmNdepth                        XmCDepth                        int              dynamic                CG
  207.           XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  208.           XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  209.           XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  210.           XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  211.           XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  212.           XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  213.           XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  214.           XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  215.           XmNx                            XmCPosition                     Position         0                      CSG
  216.           XmNy                            XmCPosition                     Position         0                      CSG
  217.  
  218.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  219.           There are no translations for ApplicationShell.
  220.  
  221.      RRRREEEELLLLAAAATTTTEEEEDDDD
  222.           CCCCoooommmmppppoooossssiiiitttteeee(3), CCCCoooorrrreeee(3), SSSShhhheeeellllllll(3), WWWWMMMMSSSShhhheeeellllllll(3), VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3),
  223.           and TTTTooooppppLLLLeeeevvvveeeellllSSSShhhheeeellllllll(3).
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                                         (printed 10/24/98)
  262.  
  263.  
  264.  
  265.